package net.da.processor.authorization.impl;

import net.da.processor.AbstractProcessorMock;
import net.da.processor.authorization.LogoutProcessor;
import net.da.processor.authorization.io.LogoutRequest;
import net.da.processor.authorization.io.LogoutResponse;

public class LogoutProcessorMock extends AbstractProcessorMock<LogoutResponse, LogoutRequest> implements LogoutProcessor {

    @Override
    protected LogoutResponse process(LogoutRequest request) {
        LogoutResponse logoutResponse = new LogoutResponse();
        logoutResponse.setAuthorizationCode(GUEST_AUTHORISATION_CODE);
        return logoutResponse;
    }

    @Override
    protected LogoutResponse buildIOResponseEmptyInstance() {
        return new LogoutResponse();
    }

}
